﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Ser_GoodsTypeCollection : List<Ser_GoodsType>
    { 
         public int IndexOf(Ser_GoodsType item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Ser_GoodsType item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Ser_GoodsType this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Ser_GoodsType item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Ser_GoodsType item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Ser_GoodsType[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Ser_GoodsType item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Ser_GoodsType> GetEnumerator()
        {
            return base.GetEnumerator();
        } 
    }
    public class Ser_GoodsType
    {
        private int _IdTypeGoods;

        public int IdTypeGoods
        {
            get { return _IdTypeGoods; }
            set { _IdTypeGoods = value; }
        }
        private string _TypeGoodsCode;

        public string TypeGoodsCode
        {
            get { return _TypeGoodsCode; }
            set { _TypeGoodsCode = value; }
        }
        private string _TypeGoodsName;

        public string TypeGoodsName
        {
            get { return _TypeGoodsName; }
            set { _TypeGoodsName = value; }
        }
        private string _Description;

        public string Description
        {
            get { return _Description; }
            set { _Description = value; }
        }
    }
}
